<!--
 * @Author: your name
 * @Date: 2019-11-04 17:06:17
 * @LastEditTime: 2019-11-04 17:20:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \HBDemo\HTML+CSS\1104demo.html
 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        ul {
            list-style: none;
        }
        
        .box {
            display: flex;
            margin: 0 auto;
            width: 1200px;
            height: 500px;
            background-color: pink;
        }
        
        .left {
            width: 200px;
            background-color: green;
        }
        
        .right {
            flex: 1;
            background-color: red;
            display: flex;
            flex-flow: row wrap;
            justify-content: space-between;
            align-content: space-between;
        }
        
        .right li {
            height: 240px;
            width: 240px;
            background-color: #333333;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="left"></div>
        <ul class="right">
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</body>

</html>